package com.sakura.mall.member.memberReceiveAddress.service;

import com.sakura.mall.common.response.Page;
import com.sakura.mall.member.memberReceiveAddress.domain.entity.MemberReceiveAddressEntity;
import com.sakura.mall.member.memberReceiveAddress.domain.request.AddMemberReceiveAddressRequest;
import com.sakura.mall.member.memberReceiveAddress.domain.request.UpdateMemberReceiveAddressRequest;
import com.sakura.mall.member.memberReceiveAddress.domain.request.MemberReceiveAddressPageRequest;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sakura.mall.member.memberReceiveAddress.domain.vo.MemberReceiveAddressVo;

/**
 * 会员收货地址 service
 *
 * @author sakura
 */
public interface MemberReceiveAddressService extends IService<MemberReceiveAddressEntity> {
    

    /**
     * 分页查询
     *
     * @param request 请求
     * @return ret
     */
    Page<MemberReceiveAddressVo> queryPage(MemberReceiveAddressPageRequest request);

    /**
    * 注册用户
    *
    * @param request 请求
    */
    void add(AddMemberReceiveAddressRequest request);
    

    /**
     * 更新用户
     *
     * @param id      id
     * @param request 更新
     */
    void updateById(Long id, UpdateMemberReceiveAddressRequest request);
}
